from common.client import RequestsClient
from common.fileLoad import load_yaml_file


class BaseClientApi(RequestsClient):
    auth_token=""

    def __init__(self):
        super().__init__()
        self.host = load_yaml_file(r"/config/http.yml")["biz"]
        self.headers = {
            "Authorization":BaseClientApi.auth_token,
            # "Accept":"application/json, text/plain, */*"
            "Content-Type":"application/json"
        }
